package com.ctshk.rpc.hotel.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 酒店房型
 * </p>
 *
 * @author yinhuan
 * @since 2021-03-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Api(value = "酒店房型信息", tags = "酒店房型信息")
@TableName(value = "t_hotel_room_type",autoResultMap = true)
@ApiModel(value="HotelRoomType对象", description="酒店房型")
public class HotelRoomType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属酒店")
    private Long hotelId;

    @ApiModelProperty(value = "房型名称")
    private String name;

    @ApiModelProperty(value = "房型英文名称")
    private String enName;

    @ApiModelProperty(value = "最多可住成人")
    private Integer maxAdult;

    @ApiModelProperty(value = "最多可住儿童")
    private Integer maxChildren;

    @ApiModelProperty(value = "房间数量")
    private Integer roomNum;

    @ApiModelProperty(value = "房间面积")
    private Double areaMeasure;

    @ApiModelProperty(value = "房型楼层")
    private String roomFloors;

    @ApiModelProperty(value = "房间类型ID")
    private Long roomTypeId;

    @ApiModelProperty(value = "房间类型")
    private String roomType;

    @ApiModelProperty(value = "是否可加床")
    private Integer canAddBed;

    @ApiModelProperty(value = "是否可加床")
    private Integer addBedNumber;

    @ApiModelProperty(value = "是否有窗户")
    private Integer hasWindow;

    @ApiModelProperty(value = "是否允许吸烟")
    private Integer allowSmoke;

    @ApiModelProperty(value = "是否免费网络")
    private Integer isFreeNet;

    @ApiModelProperty(value = "网络类型ID")
    private Long netTypeId;

    @ApiModelProperty(value = "网络类型")
    private String netType;

    @ApiModelProperty(value = "床型ID")
    private Long bedTypeId;

    @ApiModelProperty(value = "床型")
    private String bedType;

    @ApiModelProperty(value = "房间介绍")
    private String roomIntroduction;

    @ApiModelProperty(value = "客户指引")
    private String customerGuide;

    @ApiModelProperty(value = "封面图地址")
    private String coverImg;

    @ApiModelProperty(value = "图片JSON")
    private String photoJson;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "费用说明")
    private String costDescription;

    @ApiModelProperty(value = "房型设施")
    private String facilities;

    @ApiModelProperty(value = "保存一个产品code，用来与长隆productCode关联")
    private String productCode;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;
}
